package com.sqsf.annotation;

import org.springframework.stereotype.Component;
//将目标类交由spring容器管理
@Component
public class Target {
    public void selectAll(){
        System.out.println("selectAll tun ...");
    }
    public void selectById(int id){
        System.out.println("selectById tun ...");
    }
    public int selectAdd(int a,int b){
        System.out.println("selectAdd tun ...");
        return a+b;
    }
}